home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / dobbs / v17n04 / handprin.urc / Recognizer / Recognizer.h < prev    next >
MacBinary  |  1992-03-11  |  3.8 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Recognizer.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Mar 11 10:26:29 1992, modified Wed Mar 11 10:26:29 1992, creator Think C, type ASCII, 3311 bytes "Recognizer.h" magic text fragment for file(1) cmd, 1st line "#include <string.h>", 2nd line "#include <stdlib.h>", at 0xd6f 348 bytes resource magic text fragment for file(1) cmd, 1st line "#include <string.h>", 2nd line "#include <stdlib.h>" default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 52 65 63 6f 67 6e | 69 7a 65 72 2e 68 00 00 |..Recogn|izer.h..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0c ef 00 | 00 01 5c a5 e3 d7 25 a5 |........|..\...%.|
|00000060| e3 d7 25 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..%.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b4 ea 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 72 69 6e 67 |#include| <string|
|00000090| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.h>.#inc|lude <st|
|000000a0| 64 6c 69 62 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |dlib.h>.|#include|
|000000b0| 20 3c 73 74 64 69 6f 2e | 68 3e 0d 23 69 6e 63 6c | <stdio.|h>.#incl|
|000000c0| 75 64 65 20 3c 6d 61 74 | 68 2e 68 3e 0d 23 69 6e |ude <mat|h.h>.#in|
|000000d0| 63 6c 75 64 65 20 22 57 | 61 63 6f 6d 2e 68 22 0d |clude "W|acom.h".|
|000000e0| 23 69 66 6e 64 65 66 20 | 63 5f 41 4c 50 48 41 0d |#ifndef |c_ALPHA.|
|000000f0| 23 69 6e 63 6c 75 64 65 | 20 22 47 72 65 65 6b 2e |#include| "Greek.|
|00000100| 68 22 0d 23 65 6e 64 69 | 66 0d 0d 23 64 65 66 69 |h".#endi|f..#defi|
|00000110| 6e 65 20 4e 55 4d 5f 48 | 41 53 48 4c 49 53 54 53 |ne NUM_H|ASHLISTS|
|00000120| 09 35 0d 23 64 65 66 69 | 6e 65 20 4e 55 4d 5f 46 |.5.#defi|ne NUM_F|
|00000130| 45 41 54 55 52 45 53 09 | 09 39 0d 0d 23 64 65 66 |EATURES.|.9..#def|
|00000140| 69 6e 65 20 54 52 55 45 | 20 31 0d 23 64 65 66 69 |ine TRUE| 1.#defi|
|00000150| 6e 65 20 46 41 4c 53 45 | 20 30 0d 0d 23 69 66 6e |ne FALSE| 0..#ifn|
|00000160| 64 65 66 20 4e 49 4c 0d | 23 64 65 66 69 6e 65 20 |def NIL.|#define |
|00000170| 4e 49 4c 09 09 09 09 30 | 4c 0d 23 64 65 66 69 6e |NIL....0|L.#defin|
|00000180| 65 20 41 42 53 28 78 29 | 09 09 09 28 28 78 29 3e |e ABS(x)|...((x)>|
|00000190| 30 3f 28 78 29 3a 28 2d | 28 78 29 29 29 0d 23 64 |0?(x):(-|(x))).#d|
|000001a0| 65 66 69 6e 65 20 4d 41 | 58 28 61 2c 62 29 09 09 |efine MA|X(a,b)..|
|000001b0| 28 28 61 29 3e 28 62 29 | 3f 28 61 29 3a 28 62 29 |((a)>(b)|?(a):(b)|
|000001c0| 29 0d 23 64 65 66 69 6e | 65 20 4d 49 4e 28 61 2c |).#defin|e MIN(a,|
|000001d0| 62 29 09 09 28 28 61 29 | 3c 28 62 29 3f 28 61 29 |b)..((a)|<(b)?(a)|
|000001e0| 3a 28 62 29 29 0d 23 65 | 6e 64 69 66 0d 0d 23 64 |:(b)).#e|ndif..#d|
|000001f0| 65 66 69 6e 65 20 4d 41 | 58 5f 50 4f 49 4e 54 53 |efine MA|X_POINTS|
|00000200| 09 32 30 30 0d 23 64 65 | 66 69 6e 65 20 4d 41 58 |.200.#de|fine MAX|
|00000210| 5f 4e 20 09 09 09 35 30 | 0d 23 64 65 66 69 6e 65 |_N ...50|.#define|
|00000220| 20 49 4e 5f 50 52 4f 58 | 49 4d 49 54 59 20 28 21 | IN_PROX|IMITY (!|
|00000230| 57 61 63 6f 6d 20 7c 7c | 20 54 52 65 63 6f 72 64 |Wacom ||| TRecord|
|00000240| 2d 3e 66 6c 61 67 73 20 | 26 20 50 52 4f 58 49 4d |->flags |& PROXIM|
|00000250| 49 54 59 29 0d 0d 74 79 | 70 65 64 65 66 20 76 6f |ITY)..ty|pedef vo|
|00000260| 69 64 20 2a 47 65 6e 65 | 72 69 63 54 3b 0d 0d 74 |id *Gene|ricT;..t|
|00000270| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 7b 0d |ypedef s|truct {.|
|00000280| 09 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 69 |.unsigne|d long i|
|00000290| 6e 64 65 78 3b 0d 09 73 | 68 6f 72 74 20 63 6f 64 |ndex;..s|hort cod|
|000002a0| 65 3b 0d 09 7d 20 41 56 | 50 61 69 72 3b 0d 0d 74 |e;..} AV|Pair;..t|
|000002b0| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 7b 0d |ypedef s|truct {.|
|000002c0| 09 73 68 6f 72 74 09 09 | 6e 75 6d 5f 69 74 65 6d |.short..|num_item|
|000002d0| 73 3b 0d 09 41 56 50 61 | 69 72 09 69 74 65 6d 73 |s;..AVPa|ir.items|
|000002e0| 5b 5d 3b 0d 09 7d 20 2a | 41 56 4c 69 73 74 3b 0d |[];..} *|AVList;.|
|000002f0| 0d 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 20 |.typedef| struct |
|00000300| 7b 0d 09 73 68 6f 72 74 | 09 09 6e 75 6d 5f 69 74 |{..short|..num_it|
|00000310| 65 6d 73 3b 0d 09 47 65 | 6e 65 72 69 63 54 09 69 |ems;..Ge|nericT.i|
|00000320| 74 65 6d 73 5b 5d 3b 0d | 09 7d 20 2a 4c 69 73 74 |tems[];.|.} *List|
|00000330| 3b 0d 0d 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |;..typed|ef struc|
|00000340| 74 20 47 65 73 74 75 72 | 65 50 61 74 74 65 72 6e |t Gestur|ePattern|
|00000350| 20 7b 0d 09 73 68 6f 72 | 74 09 09 63 6f 64 65 3b | {..shor|t..code;|
|00000360| 0d 09 4c 69 73 74 09 09 | 73 74 72 6f 6b 65 73 3b |..List..|strokes;|
|00000370| 0d 09 7d 20 47 65 73 74 | 75 72 65 50 61 74 74 65 |..} Gest|urePatte|
|00000380| 72 6e 3b 0d 0d 74 79 70 | 65 64 65 66 20 73 74 72 |rn;..typ|edef str|
|00000390| 75 63 74 20 53 74 72 6f | 6b 65 50 61 74 74 65 72 |uct Stro|kePatter|
|000003a0| 6e 20 7b 0d 09 63 68 61 | 72 09 69 73 5f 64 6f 74 |n {..cha|r.is_dot|
|000003b0| 3b 0d 09 4c 69 73 74 09 | 73 5b 4e 55 4d 5f 46 45 |;..List.|s[NUM_FE|
|000003c0| 41 54 55 52 45 53 5d 3b | 0d 09 7d 20 53 74 72 6f |ATURES];|..} Stro|
|000003d0| 6b 65 50 61 74 74 65 72 | 6e 3b 0d 0d 74 79 70 65 |kePatter|n;..type|
|000003e0| 64 65 66 20 73 74 72 75 | 63 74 20 53 74 72 6f 6b |def stru|ct Strok|
|000003f0| 65 44 61 74 61 20 7b 0d | 09 50 6f 69 6e 74 09 09 |eData {.|.Point..|
|00000400| 49 6e 6b 5b 4d 41 58 5f | 50 4f 49 4e 54 53 5d 3b |Ink[MAX_|POINTS];|
|00000410| 0d 09 50 6f 69 6e 74 20 | 09 50 5b 4d 41 58 5f 4e |..Point |.P[MAX_N|
|00000420| 5d 3b 0d 09 73 68 6f 72 | 74 20 09 49 6e 6b 5f 4e |];..shor|t .Ink_N|
|00000430| 75 6d 2c 4e 2c 54 5b 4d | 41 58 5f 4e 5d 2c 55 5b |um,N,T[M|AX_N],U[|
|00000440| 4d 41 58 5f 4e 5d 3b 0d | 09 73 68 6f 72 74 09 09 |MAX_N];.|.short..|
|00000450| 49 73 44 6f 74 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |IsDot;..|unsigned|
|00000460| 20 6c 6f 6e 67 20 53 5b | 4e 55 4d 5f 46 45 41 54 | long S[|NUM_FEAT|
|00000470| 55 52 45 53 5d 3b 0d 09 | 64 6f 75 62 6c 65 09 41 |URES];..|double.A|
|00000480| 73 70 65 63 74 5f 52 61 | 74 69 6f 3b 0d 09 6c 6f |spect_Ra|tio;..lo|
|00000490| 6e 67 09 09 58 6d 61 78 | 2c 58 6d 69 6e 2c 59 6d |ng..Xmax|,Xmin,Ym|
|000004a0| 61 78 2c 59 6d 69 6e 2c | 48 65 69 67 68 74 2c 57 |ax,Ymin,|Height,W|
|000004b0| 69 64 74 68 3b 0d 09 6c | 6f 6e 67 09 09 58 6d 61 |idth;..l|ong..Xma|
|000004c0| 78 54 2c 58 6d 69 6e 54 | 2c 59 6d 61 78 54 2c 59 |xT,XminT|,YmaxT,Y|
|000004d0| 6d 69 6e 54 2c 48 65 69 | 67 68 74 54 2c 57 69 64 |minT,Hei|ghtT,Wid|
|000004e0| 74 68 54 3b 0d 09 6c 6f | 6e 67 09 09 73 74 61 72 |thT;..lo|ng..star|
|000004f0| 74 5f 74 69 6d 65 2c 65 | 6e 64 5f 74 69 6d 65 3b |t_time,e|nd_time;|
|00000500| 0d 09 4c 69 73 74 09 09 | 6d 61 74 63 68 65 73 3b |..List..|matches;|
|00000510| 0d 09 7d 20 53 74 72 6f | 6b 65 44 61 74 61 2c 2a |..} Stro|keData,*|
|00000520| 53 74 72 6f 6b 65 50 74 | 72 3b 0d 0d 74 79 70 65 |StrokePt|r;..type|
|00000530| 64 65 66 20 73 74 72 75 | 63 74 20 47 65 73 74 75 |def stru|ct Gestu|
|00000540| 72 65 44 61 74 61 20 7b | 0d 09 4c 69 73 74 09 09 |reData {|..List..|
|00000550| 73 74 72 6f 6b 65 73 3b | 0d 09 6c 6f 6e 67 09 09 |strokes;|..long..|
|00000560| 58 6d 61 78 2c 58 6d 69 | 6e 2c 59 6d 61 78 2c 59 |Xmax,Xmi|n,Ymax,Y|
|00000570| 6d 69 6e 3b 0d 09 7d 20 | 47 65 73 74 75 72 65 44 |min;..} |GestureD|
|00000580| 61 74 61 2c 2a 47 65 73 | 74 75 72 65 50 74 72 3b |ata,*Ges|turePtr;|
|00000590| 0d 0d 0d 65 78 74 65 72 | 6e 20 73 68 6f 72 74 20 |...exter|n short |
|000005a0| 57 61 63 6f 6d 3b 0d 65 | 78 74 65 72 6e 20 54 41 |Wacom;.e|xtern TA|
|000005b0| 42 4c 45 54 52 45 43 4f | 52 44 20 2a 54 52 65 63 |BLETRECO|RD *TRec|
|000005c0| 6f 72 64 3b 0d 65 78 74 | 65 72 6e 20 6c 6f 6e 67 |ord;.ext|ern long|
|000005d0| 20 53 63 72 65 65 6e 59 | 53 69 7a 65 2c 54 61 62 | ScreenY|Size,Tab|
|000005e0| 59 53 69 7a 65 2c 54 61 | 62 59 4d 69 6e 2c 53 63 |YSize,Ta|bYMin,Sc|
|000005f0| 72 65 65 6e 58 53 69 7a | 65 2c 54 61 62 58 53 69 |reenXSiz|e,TabXSi|
|00000600| 7a 65 2c 54 61 62 58 4d | 69 6e 3b 0d 23 64 65 66 |ze,TabXM|in;.#def|
|00000610| 69 6e 65 20 54 41 42 5f | 54 4f 5f 53 43 52 45 45 |ine TAB_|TO_SCREE|
|00000620| 4e 5f 58 28 78 29 20 28 | 28 28 6c 6f 6e 67 29 78 |N_X(x) (|((long)x|
|00000630| 20 2d 20 54 61 62 58 4d | 69 6e 29 20 2a 20 53 63 | - TabXM|in) * Sc|
|00000640| 72 65 65 6e 58 53 69 7a | 65 20 2f 20 54 61 62 58 |reenXSiz|e / TabX|
|00000650| 53 69 7a 65 29 0d 23 64 | 65 66 69 6e 65 20 54 41 |Size).#d|efine TA|
|00000660| 42 5f 54 4f 5f 53 43 52 | 45 45 4e 5f 59 28 79 29 |B_TO_SCR|EEN_Y(y)|
|00000670| 20 28 28 28 6c 6f 6e 67 | 29 79 20 2d 20 54 61 62 | (((long|)y - Tab|
|00000680| 59 4d 69 6e 29 20 2a 20 | 53 63 72 65 65 6e 59 53 |YMin) * |ScreenYS|
|00000690| 69 7a 65 20 2f 20 54 61 | 62 59 53 69 7a 65 29 0d |ize / Ta|bYSize).|
|000006a0| 23 64 65 66 69 6e 65 20 | 53 43 52 45 45 4e 5f 54 |#define |SCREEN_T|
|000006b0| 4f 5f 54 41 42 5f 59 28 | 79 29 20 28 28 28 6c 6f |O_TAB_Y(|y) (((lo|
|000006c0| 6e 67 29 79 20 2a 20 54 | 61 62 59 53 69 7a 65 20 |ng)y * T|abYSize |
|000006d0| 2f 20 53 63 72 65 65 6e | 59 53 69 7a 65 29 20 2b |/ Screen|YSize) +|
|000006e0| 20 54 61 62 59 4d 69 6e | 29 0d 0d 76 6f 69 64 09 | TabYMin|)..void.|
|000006f0| 41 70 70 65 6e 64 28 4c | 69 73 74 20 2a 74 68 65 |Append(L|ist *the|
|00000700| 4c 69 73 74 2c 6c 6f 6e | 67 20 69 74 65 6d 29 3b |List,lon|g item);|
|00000710| 0d 76 6f 69 64 09 52 65 | 61 64 50 61 74 74 65 72 |.void.Re|adPatter|
|00000720| 6e 73 28 76 6f 69 64 29 | 3b 0d 76 6f 69 64 09 53 |ns(void)|;.void.S|
|00000730| 61 76 65 50 61 74 74 65 | 72 6e 73 28 76 6f 69 64 |avePatte|rns(void|
|00000740| 29 3b 0d 73 68 6f 72 74 | 09 52 65 63 6f 67 6e 69 |);.short|.Recogni|
|00000750| 7a 65 28 76 6f 69 64 29 | 3b 0d 76 6f 69 64 09 52 |ze(void)|;.void.R|
|00000760| 65 63 6f 67 6e 69 7a 65 | 53 74 72 6f 6b 65 28 73 |ecognize|Stroke(s|
|00000770| 68 6f 72 74 20 77 68 69 | 63 68 53 74 72 6f 6b 65 |hort whi|chStroke|
|00000780| 29 3b 0d 76 6f 69 64 09 | 52 65 63 6f 67 6e 69 7a |);.void.|Recogniz|
|00000790| 65 72 49 6e 69 74 28 76 | 6f 69 64 29 3b 0d 73 68 |erInit(v|oid);.sh|
|000007a0| 6f 72 74 20 54 72 79 43 | 6f 6c 6c 65 63 74 47 65 |ort TryC|ollectGe|
|000007b0| 73 74 75 72 65 28 50 6f | 69 6e 74 20 77 68 65 72 |sture(Po|int wher|
|000007c0| 65 2c 6c 6f 6e 67 20 77 | 68 65 6e 29 3b 0d 73 68 |e,long w|hen);.sh|
|000007d0| 6f 72 74 09 43 6f 6c 6c | 65 63 74 53 74 72 6f 6b |ort.Coll|ectStrok|
|000007e0| 65 28 50 6f 69 6e 74 20 | 77 68 65 72 65 2c 53 74 |e(Point |where,St|
|000007f0| 72 6f 6b 65 50 74 72 20 | 74 68 65 53 74 72 6f 6b |rokePtr |theStrok|
|00000800| 65 29 3b 0d 76 6f 69 64 | 09 43 6f 6d 70 75 74 65 |e);.void|.Compute|
|00000810| 42 42 6f 78 28 76 6f 69 | 64 29 3b 0d 73 68 6f 72 |BBox(voi|d);.shor|
|00000820| 74 09 41 54 41 4e 32 28 | 73 68 6f 72 74 2c 73 68 |t.ATAN2(|short,sh|
|00000830| 6f 72 74 29 3b 0d 73 68 | 6f 72 74 20 49 73 49 6e |ort);.sh|ort IsIn|
|00000840| 4c 69 73 74 28 4c 69 73 | 74 20 6c 69 73 74 2c 6c |List(Lis|t list,l|
|00000850| 6f 6e 67 20 6e 29 3b 0d | 76 6f 69 64 20 44 6f 54 |ong n);.|void DoT|
|00000860| 72 61 69 6e 69 6e 67 44 | 69 61 6c 6f 67 28 76 6f |rainingD|ialog(vo|
|00000870| 69 64 29 3b 0d 76 6f 69 | 64 20 44 6f 46 61 73 74 |id);.voi|d DoFast|
|00000880| 54 72 61 69 6e 65 72 44 | 69 61 6c 6f 67 28 76 6f |TrainerD|ialog(vo|
|00000890| 69 64 29 3b 0d 76 6f 69 | 64 20 41 70 70 65 6e 64 |id);.voi|d Append|
|000008a0| 41 56 50 61 69 72 28 41 | 56 4c 69 73 74 20 2a 74 |AVPair(A|VList *t|
|000008b0| 68 65 4c 69 73 74 2c 41 | 56 50 61 69 72 20 69 74 |heList,A|VPair it|
|000008c0| 65 6d 29 3b 0d 76 6f 69 | 64 20 4d 61 6b 65 53 65 |em);.voi|d MakeSe|
|000008d0| 61 72 63 68 54 61 62 6c | 65 73 28 76 6f 69 64 29 |archTabl|es(void)|
|000008e0| 3b 0d 76 6f 69 64 20 53 | 65 61 72 63 68 41 6e 64 |;.void S|earchAnd|
|000008f0| 41 64 64 4d 61 74 63 68 | 65 73 28 73 68 6f 72 74 |AddMatch|es(short|
|00000900| 2a 2c 73 68 6f 72 74 2a | 2c 73 68 6f 72 74 2a 2c |*,short*|,short*,|
|00000910| 41 56 4c 69 73 74 20 74 | 68 65 4c 69 73 74 2c 75 |AVList t|heList,u|
|00000920| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 6e 2c 73 |nsigned |long n,s|
|00000930| 68 6f 72 74 20 77 29 3b | 0d 76 6f 69 64 20 53 65 |hort w);|.void Se|
|00000940| 74 75 70 4d 61 70 70 69 | 6e 67 28 76 6f 69 64 29 |tupMappi|ng(void)|
|00000950| 3b 0d 76 6f 69 64 09 53 | 69 6d 70 6c 69 66 79 28 |;.void.S|implify(|
|00000960| 53 74 72 6f 6b 65 50 74 | 72 20 74 68 65 53 74 72 |StrokePt|r theStr|
|00000970| 6f 6b 65 2c 50 6f 69 6e | 74 20 2a 49 6e 6b 2c 73 |oke,Poin|t *Ink,s|
|00000980| 68 6f 72 74 20 4e 29 3b | 0d 76 6f 69 64 09 41 6e |hort N);|.void.An|
|00000990| 61 6c 79 7a 65 28 53 74 | 72 6f 6b 65 50 74 72 29 |alyze(St|rokePtr)|
|000009a0| 3b 0d 76 6f 69 64 20 53 | 65 74 5f 43 75 72 72 65 |;.void S|et_Curre|
|000009b0| 6e 74 5f 50 61 74 74 65 | 72 6e 28 76 6f 69 64 29 |nt_Patte|rn(void)|
|000009c0| 3b 0d 73 68 6f 72 74 20 | 4e 75 6d 53 79 6d 62 6f |;.short |NumSymbo|
|000009d0| 6c 73 28 76 6f 69 64 29 | 3b 0d 73 68 6f 72 74 20 |ls(void)|;.short |
|000009e0| 43 6f 64 65 28 73 68 6f | 72 74 20 6e 29 3b 0d 76 |Code(sho|rt n);.v|
|000009f0| 6f 69 64 20 44 72 61 77 | 43 6f 64 65 28 73 68 6f |oid Draw|Code(sho|
|00000a00| 72 74 20 6e 29 3b 0d 73 | 68 6f 72 74 20 46 69 6e |rt n);.s|hort Fin|
|00000a10| 64 43 6f 64 65 28 73 68 | 6f 72 74 20 63 6f 64 65 |dCode(sh|ort code|
|00000a20| 29 3b 0d 76 6f 69 64 20 | 41 64 64 4e 65 77 50 61 |);.void |AddNewPa|
|00000a30| 74 74 65 72 6e 28 76 6f | 69 64 29 3b 0d 76 6f 69 |ttern(vo|id);.voi|
|00000a40| 64 20 45 78 74 65 6e 64 | 52 61 6e 67 65 28 76 6f |d Extend|Range(vo|
|00000a50| 69 64 29 3b 0d 76 6f 69 | 64 20 44 69 73 70 6f 73 |id);.voi|d Dispos|
|00000a60| 65 50 61 74 74 65 72 6e | 73 28 76 6f 69 64 29 3b |ePattern|s(void);|
|00000a70| 0d 76 6f 69 64 20 46 72 | 65 65 53 74 72 6f 6b 65 |.void Fr|eeStroke|
|00000a80| 73 28 76 6f 69 64 29 3b | 0d 76 6f 69 64 20 43 6f |s(void);|.void Co|
|00000a90| 6e 76 65 72 74 4c 6f 6e | 67 54 6f 53 74 72 69 6e |nvertLon|gToStrin|
|00000aa0| 67 28 63 68 61 72 20 2a | 73 2c 75 6e 73 69 67 6e |g(char *|s,unsign|
|00000ab0| 65 64 20 6c 6f 6e 67 20 | 6e 2c 73 68 6f 72 74 20 |ed long |n,short |
|00000ac0| 62 69 74 73 2c 63 68 61 | 72 20 2a 6e 61 6d 65 29 |bits,cha|r *name)|
|00000ad0| 3b 0d 76 6f 69 64 20 43 | 6f 6e 76 65 72 74 53 74 |;.void C|onvertSt|
|00000ae0| 72 69 6e 67 54 6f 4c 6f | 6e 67 28 63 68 61 72 20 |ringToLo|ng(char |
|00000af0| 2a 73 2c 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |*s,unsig|ned long|
|00000b00| 20 2a 6e 70 2c 73 68 6f | 72 74 20 62 69 74 73 29 | *np,sho|rt bits)|
|00000b10| 3b 0d 76 6f 69 64 20 43 | 6f 6d 70 75 74 65 54 28 |;.void C|omputeT(|
|00000b20| 53 74 72 6f 6b 65 50 74 | 72 20 74 68 65 53 74 72 |StrokePt|r theStr|
|00000b30| 6f 6b 65 29 3b 0d 0d 65 | 78 74 65 72 6e 20 41 56 |oke);..e|xtern AV|
|00000b40| 4c 69 73 74 20 48 61 73 | 68 4c 69 73 74 5b 5d 3b |List Has|hList[];|
|00000b50| 0d 65 78 74 65 72 6e 20 | 4c 69 73 74 09 09 70 61 |.extern |List..pa|
|00000b60| 74 74 65 72 6e 73 2c 53 | 74 72 6f 6b 65 73 3b 0d |tterns,S|trokes;.|
|00000b70| 65 78 74 65 72 6e 20 73 | 68 6f 72 74 20 43 75 72 |extern s|hort Cur|
|00000b80| 72 65 6e 74 5f 50 61 74 | 74 65 72 6e 2c 4c 65 61 |rent_Pat|tern,Lea|
|00000b90| 72 6e 5f 43 6f 64 65 3b | 0d 65 78 74 65 72 6e 20 |rn_Code;|.extern |
|00000ba0| 53 74 72 6f 6b 65 50 74 | 72 20 54 68 65 5f 53 74 |StrokePt|r The_St|
|00000bb0| 72 6f 6b 65 3b 0d 65 78 | 74 65 72 6e 20 52 65 63 |roke;.ex|tern Rec|
|00000bc0| 74 20 42 42 6f 78 3b 0d | 65 78 74 65 72 6e 20 73 |t BBox;.|extern s|
|00000bd0| 68 6f 72 74 20 44 6f 6e | 74 5f 55 73 65 5f 54 61 |hort Don|t_Use_Ta|
|00000be0| 62 6c 65 2c 54 72 61 69 | 6e 69 6e 67 2c 50 61 75 |ble,Trai|ning,Pau|
|00000bf0| 73 65 49 73 4d 6f 75 73 | 65 2c 54 52 41 49 4e 49 |seIsMous|e,TRAINI|
|00000c00| 4e 47 5f 54 49 4d 45 5f | 4f 55 54 2c 6d 69 6e 5f |NG_TIME_|OUT,min_|
|00000c10| 77 65 69 67 68 74 2c 0d | 09 09 09 09 52 65 63 6f |weight,.|....Reco|
|00000c20| 67 6e 69 7a 65 57 6f 72 | 64 73 3b 0d 0d 0d 23 69 |gnizeWor|ds;...#i|
|00000c30| 66 6e 64 65 66 20 5f 48 | 5f 47 6c 6f 62 61 6c 0d |fndef _H|_Global.|
|00000c40| 74 79 70 65 64 65 66 09 | 09 76 6f 69 64 20 28 2a |typedef.|.void (*|
|00000c50| 56 6f 69 64 46 75 6e 63 | 29 28 2e 2e 2e 29 3b 09 |VoidFunc|)(...);.|
|00000c60| 09 09 2f 2a 20 50 74 72 | 20 74 6f 20 61 20 66 75 |../* Ptr| to a fu|
|00000c70| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 69 6e 67 |nction r|eturning|
|00000c80| 20 76 6f 69 64 09 2a 2f | 0d 23 65 6e 64 69 66 0d | void.*/|.#endif.|
|00000c90| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 7b |typedef |struct {|
|00000ca0| 20 75 6e 73 69 67 6e 65 | 64 20 63 68 61 72 20 2a | unsigne|d char *|
|00000cb0| 6e 61 6d 65 3b 20 73 68 | 6f 72 74 20 63 6f 64 65 |name; sh|ort code|
|00000cc0| 3b 20 7d 20 4e 61 6d 65 | 64 43 6f 64 65 3b 0d 65 |; } Name|dCode;.e|
|00000cd0| 78 74 65 72 6e 20 4e 61 | 6d 65 64 43 6f 64 65 20 |xtern Na|medCode |
|00000ce0| 43 6f 6d 6d 61 6e 64 73 | 5b 5d 3b 0d 65 78 74 65 |Commands|[];.exte|
|00000cf0| 72 6e 20 73 68 6f 72 74 | 20 4e 75 6d 5f 43 6f 6d |rn short| Num_Com|
|00000d00| 6d 61 6e 64 73 3b 0d 0d | 65 78 74 65 72 6e 20 73 |mands;..|extern s|
|00000d10| 68 6f 72 74 20 56 6f 74 | 65 57 65 69 67 68 74 5b |hort Vot|eWeight[|
|00000d20| 5d 3b 0d 65 78 74 65 72 | 6e 20 63 68 61 72 20 42 |];.exter|n char B|
|00000d30| 69 74 73 5b 5d 3b 0d 65 | 78 74 65 72 6e 20 56 6f |its[];.e|xtern Vo|
|00000d40| 69 64 46 75 6e 63 20 48 | 61 73 68 46 75 6e 63 74 |idFunc H|ashFunct|
|00000d50| 69 6f 6e 73 5b 5d 3b 0d | 65 78 74 65 72 6e 20 63 |ions[];.|extern c|
|00000d60| 68 61 72 20 2a 4e 61 6d | 65 73 5b 5d 3b 0d 0d 00 |har *Nam|es[];...|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000d90| 20 32 20 72 6f 6c 6c 20 | 6e 65 77 70 61 74 68 20 | 2 roll |newpath |
|00000da0| 34 20 63 6f 70 79 20 34 | 20 32 20 72 6f 6c 6c 20 |4 copy 4| 2 roll |
|00000db0| 0c 52 65 63 6f 67 6e 69 | 7a 65 72 2e 68 69 02 00 |.Recogni|zer.hi..|
|00000dc0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 14 00 60 |..TEXTKA|HL.....`|
|00000dd0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 14 00 60 |..TEXTKA|HL.....`|
|00000de0| 00 00 31 09 00 00 00 00 | 00 00 00 00 00 00 00 00 |..1.....|........|
|00000df0| 00 00 a4 fd 03 11 00 00 | 0c ef 00 00 01 5c 75 70 |........|.....\up|
|00000e00| 20 70 6e 73 68 20 32 20 | 64 69 76 20 6c 65 20 65 | pnsh 2 |div le e|
|00000e10| 78 63 68 20 70 6e 73 76 | 20 32 20 64 69 76 20 6c |xch pnsv| 2 div l|
|00000e20| 65 20 6f 72 7d 62 64 66 | 27 2f 72 72 7b 2f 40 31 |e or}bdf|'/rr{/@1|
|00000e30| 20 78 64 66 20 32 2e 20 | 64 69 76 2f 40 32 20 78 | xdf 2. |div/@2 x|
|00000e40| 64 66 20 32 2e 20 64 69 | 76 2f 40 33 20 78 64 66 |df 2. di|v/@3 xdf|
|00000e50| 1c 2f 40 34 20 78 64 66 | 2f 40 35 20 78 64 66 2f |./@4 xdf|/@5 xdf/|
|00000e60| 40 36 20 78 64 66 2f 40 | 37 20 78 64 66 31 40 37 |@6 xdf/@|7 xdf1@7|
|00000e70| 20 40 35 20 65 71 20 40 | 36 20 40 34 20 65 71 20 | @5 eq @|6 @4 eq |
|00000e80| 00 00 00 04 00 06 00 03 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00000e90| 6f 6e 61 63 6f 00 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|00000ea0| 00 16 00 00 00 46 00 25 | a0 a8 03 ae 00 00 00 1c |.....F.%|........|
|00000eb0| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|00000ec0| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 25 9e f4 |........|.....%..|
|00000ed0| 03 eb ff ff 00 00 00 08 | 00 25 9e a8 00 00 00 00 |........|.%......|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+